package com.suxin.logger.filter;

import com.suxin.logger.LogRecord;

/**
 * @author Tang
 * @classname Filter
 * @description [  ]
 * @date 2022/4/27 10:31
 */
@FunctionalInterface
public interface Filter {

    /**
     * 是否能 push
     * @param logRecord
     * @return
     */
    public boolean isLoggable(LogRecord logRecord);

}
